package com.example.ldachu.testdownload.http.bean;

import java.util.List;

/**
 * @author zxKueen on 2017-12-22 9:39
 *         Email: 4994766@qq.com
 *         检查更新接口
 */

public class VerifyAppVersion {

    /**
     * Version : {"Id":13,"ClientId":"20151010112","Name":"Android","VersionNumber":"1.4.3","Note":"非强更，我是1.4.3","Status":1,"Compulsory":0,"Terminal":4,"Attachment":"http://osm251.pinhui001.cn/attached/appstore/20171109/20171109-e09acc72-f905-4833-8e1d-2ce560139103.apk","AddressVersion":"3"}
     * Country : []
     * OpenConfig : [{"ConfigType":1,"ConfigValue":"1"},{"ConfigType":2,"ConfigValue":"0"}]
     * AppAdvertList : []
     * HomeAdvertList : [{"Id":992,"SortId":57,"Title":"五","Type":6,"Images":"https://img251.pinhui001.cn/group1/M00/00/E3/CqArGlo7Jw-ADByBABARVdQOkZ0427.png","ImageItem":"","Summary":"","Path":"1","Grade":0,"Verify":1,"JoinTime":"2017-12-21 11:15:30","Terminal":0,"TopicId":0,"IsLogin":0,"DatePeriod":"","Usersids":"","Time":10,"FileType":0,"DateList":[],"UsersidsList":{"User":null,"Patener":null,"AreaIds":null}}]
     */

    private VersionBean Version;
    private List<?>                  Country;
    private List<OpenConfigBean>     OpenConfig;
    private List<AdBean>                  AppAdvertList;
    private List<AdBean> HomeAdvertList;

    public VersionBean getVersion() {
        return Version;
    }

    public void setVersion(VersionBean Version) {
        this.Version = Version;
    }

    public List<?> getCountry() {
        return Country;
    }

    public void setCountry(List<?> Country) {
        this.Country = Country;
    }

    public List<OpenConfigBean> getOpenConfig() {
        return OpenConfig;
    }

    public void setOpenConfig(List<OpenConfigBean> OpenConfig) {
        this.OpenConfig = OpenConfig;
    }

    public List<AdBean> getAppAdvertList() {
        return AppAdvertList;
    }

    public void setAppAdvertList(List<AdBean> AppAdvertList) {
        this.AppAdvertList = AppAdvertList;
    }

    public List<AdBean> getHomeAdvertList() {
        return HomeAdvertList;
    }

    public void setHomeAdvertList(List<AdBean> HomeAdvertList) {
        this.HomeAdvertList = HomeAdvertList;
    }

    public static class VersionBean {
        /**
         * Id : 13
         * ClientId : 20151010112
         * Name : Android
         * VersionNumber : 1.4.3
         * Note : 非强更，我是1.4.3
         * Status : 1
         * Compulsory : 0
         * Terminal : 4
         * Attachment : http://osm251.pinhui001.cn/attached/appstore/20171109/20171109-e09acc72-f905-4833-8e1d-2ce560139103.apk
         * AddressVersion : 3
         */

        private int Id;
        private String ClientId;
        private String Name;
        private String VersionNumber;
        private String Note;
        private int    Status;
        private int    Compulsory;
        private int    Terminal;
        private String Attachment;
        private String AddressVersion;

        public int getId() {
            return Id;
        }

        public void setId(int Id) {
            this.Id = Id;
        }

        public String getClientId() {
            return ClientId;
        }

        public void setClientId(String ClientId) {
            this.ClientId = ClientId;
        }

        public String getName() {
            return Name;
        }

        public void setName(String Name) {
            this.Name = Name;
        }

        public String getVersionNumber() {
            return VersionNumber;
        }

        public void setVersionNumber(String VersionNumber) {
            this.VersionNumber = VersionNumber;
        }

        public String getNote() {
            return Note;
        }

        public void setNote(String Note) {
            this.Note = Note;
        }

        public int getStatus() {
            return Status;
        }

        public void setStatus(int Status) {
            this.Status = Status;
        }

        public int getCompulsory() {
            return Compulsory;
        }

        public void setCompulsory(int Compulsory) {
            this.Compulsory = Compulsory;
        }

        public int getTerminal() {
            return Terminal;
        }

        public void setTerminal(int Terminal) {
            this.Terminal = Terminal;
        }

        public String getAttachment() {
            return Attachment;
        }

        public void setAttachment(String Attachment) {
            this.Attachment = Attachment;
        }

        public String getAddressVersion() {
            return AddressVersion;
        }

        public void setAddressVersion(String AddressVersion) {
            this.AddressVersion = AddressVersion;
        }
    }

    public static class OpenConfigBean {
        /**
         * ConfigType : 1
         * ConfigValue : 1
         */

        private int ConfigType;
        private String ConfigValue;

        public int getConfigType() {
            return ConfigType;
        }

        public void setConfigType(int ConfigType) {
            this.ConfigType = ConfigType;
        }

        public String getConfigValue() {
            return ConfigValue;
        }

        public void setConfigValue(String ConfigValue) {
            this.ConfigValue = ConfigValue;
        }
    }


}
